package com.luojay.beta.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(scanBasePackages = {"com.luojay.beta.service.impl","com.luojay.beta.web"})
// @ComponentScan(basePackages={"com.luojay.beta.service.impl","com.luojay.beta.web"})
@MapperScan("com.luojay.beta.dao.mapper")
public class BetaWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(BetaWebApplication.class, args);
    }
}
